#ڵapache mod_rewriteÿԲοϣhttp://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
<IfModule mod_rewrite.c>

#Ŀ¼дĻ׼URL
RewriteEngine On
RewriteBase /

#L˼ΪֹͣдӦд
RewriteRule ^/$ /index.php [L]
RewriteRule ^$ /index.php [L]

#ֹʳĿ¼µphp,sql,fileļ
RewriteRule ^[^/]*?/.*?\.(php|sql|file).*?$ /index.php [L]

#ûҵļĿ¼index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

</IfModule>